//
//  HomeTeoCollectionViewCell.m
//  fp
//
//  Created by xingshuai on 2020/11/14.
//

#import "HomeTeoCollectionViewCell.h"

@interface HomeTeoCollectionViewCell ()
// cell图片
@property (nonatomic, strong) UIImageView *schoolImg;

@end

@implementation HomeTeoCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.contentView.backgroundColor = [UIColor clearColor];
        self.schoolImg = [[UIImageView alloc]init];
        self.schoolImg.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:self.schoolImg];
        [self.schoolImg mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self.contentView);
        }];
    }
    return self;
}

-(void)setImgString:(NSString *)imgString {
    self.schoolImg.image = [UIImage imageNamed:imgString];
}


@end
